package com.jacobson.huobi.di.modules

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.huobi.mvp.contract.AboutCeluerenContract
import com.jacobson.huobi.mvp.contract.InviteFriendsContract
import com.jacobson.huobi.mvp.contract.RenevalMemberContract
import com.jacobson.huobi.mvp.model.AboutCeluerenModel
import com.jacobson.huobi.mvp.model.InviteFriendsModel
import com.jacobson.huobi.mvp.model.RenevalMemberModel
import com.jacobson.huobi.mvp.presenter.AboutCeluerenPresenter
import com.jacobson.huobi.mvp.presenter.InviteFriendsPresenter
import com.jacobson.huobi.mvp.presenter.RenevalMemberPresenter
import dagger.Module
import dagger.Provides

@Module
class RenevalMemberActivityModule(
    private val view: RenevalMemberContract.View
) {
    @Provides
    @ActivityScope
    fun provideView() = view

    @Provides
    @ActivityScope
    fun providePresenter(presenter: RenevalMemberPresenter): RenevalMemberContract.Presenter = presenter

    @Provides
    @ActivityScope
    fun provideModel(model: RenevalMemberModel): RenevalMemberContract.Model = model

}